package com.dinnerorders.common.services;

import com.dinnerorders.common.models.Menu;

import java.util.List;

/**
 * @author Sergey Nalivko e-mail: snalivko93@gmail.com
 */
public interface MenuService {
    /**
     * Saves menu's entity into database
     * @param menu the entity to be saved
     */
    public void save(Menu menu);

    /**
     * Loads all available menus
     * @return collection of found menus
     */
    public List<Menu> loadAll();
}
